Skip to content

Conversation

@JainVanshika
Copy link

it includes static variables, static method, and static block.

it includes static variables, static method, and static block.
System.out.println("j:"+A.j); //printing static variable
obj.C(); //to call non static method
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants